package cn.wolfcode.p2p.util;

import lombok.Getter;
import lombok.Setter;


public class JSONResult {
       private String msg;
       private boolean success=true;

        public String getMsg() {
                return msg;
        }

        public boolean isSuccess() {
                return success;
        }

        public JSONResult setMsg(String msg) {
                this.msg = msg;
                this.success = false;
                return this;
        }
}
